﻿using System.Windows.Controls;
using Shatkotha.WPF.Global.Bases;
using Shatkotha.WPF.Global.Modules.Contacts;

namespace Shatkotha.WPF.Contacts.Views
{
    /// <summary>
    /// Interaction logic for ContactView.xaml
    /// </summary>
    public partial class ContactView : IContactView
    {
        private IContactPresenter _presenter;

        public ContactView()
        {
            InitializeComponent();
        }

        public IPresenter Presenter
        {
            set
            {
                _presenter = value as IContactPresenter;
                DataContext = value; }
            private get
            {
                return _presenter;
            }
        }
    }
}
